package com.example.yuejianapp14.Activity.Servics;

import com.example.yuejianapp14.Activity.JavaBean.Comment;
import com.example.yuejianapp14.Activity.JavaBean.Success;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by jason_lin on 2017/10/23.
 */

public interface CommentService {
    @GET("commentlist")
    Call<List<Comment>> commentlist(
            @Query("tid") String tid
    );
    @GET("addcomment")
    Call<Success> addcomment(
            @Query("uid") String uid,
            @Query("tid") String tid,
            @Query("content") String content
    );

}
